package com.xinghou.platform.model.main;

/**
 * SharedCard entity. @author MyEclipse Persistence Tools
 */

public class SharedCard implements java.io.Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = -998111865864055226L;
	
	// Fields
    //卡片id
	private Integer cardid;
	//用户id
	private Integer userid;
	//门店id
	private Integer storeid;
	//分享卡描述
	private String content;
	//分享卡类型
	private Byte sharetype;
	//被赞次数
	private Integer praisecount;
	//浏览次数
	private Integer browsecount;
	//状态 0不可见 1，可见
	private Short status;
	//发布时间
	private Long createtime;
	//更新时间
	private Long updatetime;
	//折扣
	private String	discount;
	//卡内余额
	private Double money;
	//最低消费
	private Double minsale;
	//使用范围
	private String usearea;
	//交易对象 0不限1女2男
	private Short transaction;
	//交易方式 0现金，1支付宝，3，微信
	private String transactiontype;
	//交易时间
	private String transactiontime;
	//手续费
	private Double brokerage;
	private Integer imagetype;
	private Integer last_pid;
	private String storename;
	private Double longitude;
	private Double latitude;
	private String storeaddress;

	private String ad_code;
	private String ad_code_province;
	private String ad_code_city;
	private String ad_code_region;
	private String operator;
	//分享卡图片列表
	private String urls;
	private Integer isreal;
	private Integer audit;

	public Integer getAudit() {
		return audit;
	}

	public SharedCard setAudit(Integer audit) {
		this.audit = audit;
		return this;
	}

	public Integer getIsreal() {
		return isreal;
	}

	public SharedCard setIsreal(Integer isreal) {
		this.isreal = isreal;
		return this;
	}

	public String getOperator() {
		return operator;
	}

	public SharedCard setOperator(String operator) {
		this.operator = operator;
		return this;
	}

	public String getStoreaddress() {
		return storeaddress;
	}

	public void setStoreaddress(String storeaddress) {
		this.storeaddress = storeaddress;
	}

	public Double getLongitude() {
		return longitude;
	}

	public void setLongitude(Double longitude) {
		this.longitude = longitude;
	}

	public Double getLatitude() {
		return latitude;
	}

	public void setLatitude(Double latitude) {
		this.latitude = latitude;
	}




	// Constructors

	/** default constructor */
	public SharedCard() {
	}



	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Integer getCardid() {
		return cardid;
	}

	public void setCardid(Integer cardid) {
		this.cardid = cardid;
	}

	public Integer getUserid() {
		return userid;
	}

	public void setUserid(Integer userid) {
		this.userid = userid;
	}

	public Integer getStoreid() {
		return storeid;
	}

	public void setStoreid(Integer storeid) {
		this.storeid = storeid;
	}

	public Byte getSharetype() {
		return sharetype;
	}

	public void setSharetype(Byte sharetype) {
		this.sharetype = sharetype;
	}

	public Integer getPraisecount() {
		return praisecount;
	}

	public void setPraisecount(Integer praisecount) {
		this.praisecount = praisecount;
	}

	public Integer getBrowsecount() {
		return browsecount;
	}

	public void setBrowsecount(Integer browsecount) {
		this.browsecount = browsecount;
	}

	public Short getStatus() {
		return status;
	}

	public void setStatus(Short status) {
		this.status = status;
	}

	public Long getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Long createtime) {
		this.createtime = createtime;
	}

	public Long getUpdatetime() {
		return updatetime;
	}

	public void setUpdatetime(Long updatetime) {
		this.updatetime = updatetime;
	}

	public String getDiscount() {
		return discount;
	}

	public void setDiscount(String discount) {
		this.discount = discount;
	}

	public Double getMoney() {
		return money;
	}

	public void setMoney(Double money) {
		this.money = money;
	}

	public Double getMinsale() {
		return minsale;
	}

	public void setMinsale(Double minsale) {
		this.minsale = minsale;
	}

	public String getUsearea() {
		return usearea;
	}

	public void setUsearea(String usearea) {
		this.usearea = usearea;
	}

	public Short getTransaction() {
		return transaction;
	}

	public void setTransaction(Short transaction) {
		this.transaction = transaction;
	}

	public String getTransactiontype() {
		return transactiontype;
	}

	public void setTransactiontype(String transactiontype) {
		this.transactiontype = transactiontype;
	}

	public String getTransactiontime() {
		return transactiontime;
	}

	public void setTransactiontime(String transactiontime) {
		this.transactiontime = transactiontime;
	}

	public Double getBrokerage() {
		return brokerage;
	}

	public void setBrokerage(Double brokerage) {
		this.brokerage = brokerage;
	}

	public Integer getImagetype() {
		return imagetype;
	}

	public void setImagetype(Integer imagetype) {
		this.imagetype = imagetype;
	}

	public Integer getLast_pid() {
		return last_pid;
	}

	public void setLast_pid(Integer last_pid) {
		this.last_pid = last_pid;
	}

	public String getStorename() {
		return storename;
	}

	public void setStorename(String storename) {
		this.storename = storename;
	}
	public String getUrls() {
		return urls;
	}

	public void setUrls(String urls) {
		this.urls = urls;
	}

	public String getAd_code() {
		return ad_code;
	}

	public SharedCard setAd_code(String ad_code) {
		this.ad_code = ad_code;
		return this;
	}

	public String getAd_code_city() {
		return ad_code_city;
	}

	public SharedCard setAd_code_city(String ad_code_city) {
		this.ad_code_city = ad_code_city;
		return this;
	}

	public String getAd_code_province() {
		return ad_code_province;
	}

	public SharedCard setAd_code_province(String ad_code_province) {
		this.ad_code_province = ad_code_province;
		return this;
	}

	public String getAd_code_region() {
		return ad_code_region;
	}

	public SharedCard setAd_code_region(String ad_code_region) {
		this.ad_code_region = ad_code_region;
		return this;
	}
}